package com.chenl.provider.DEMOS.设计模式.测试设计模式;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public class Man2 implements Person{
    private String name;
    private String age;
    public void setAge(String age){
        this.age=age;
    }

    @Override
    public void method() {
        System.out.println("我是Man2");
    }
}
